import request from '@/utils/request'

export function findAll(params) {
  return request({
    url: '/user/findAll',
    method: 'get',
    params
  })
}
export function del(params) {
  return request({
    url: '/user/del',
    method: 'get',
    params
  })
}
export function add(data) {
  return request({
    url: '/user/add',
    method: 'post',
    data
  })
}
export function edit(data) {
  return request({
    url: '/user/edit',
    method: 'post',
    data
  })
}
